package com.ssy.lingxi.common.model.dto;

import java.io.Serializable;

/**
 * 会员Id和角色Id的缓存实体
 * @author 万宁
 * @version 2.0.0
 * @date 2020-09-25
 */
public class MemberAndRoleIdDTO implements Serializable {
    private static final long serialVersionUID = -5453487724686944198L;

    public MemberAndRoleIdDTO() {
    }

    public MemberAndRoleIdDTO(Long memberId, Long roleId) {
        this.memberId = memberId;
        this.roleId = roleId;
    }

    /**
     * 会员Id
     */
    private Long memberId;

    /**
     * 角色Id
     */
    private Long roleId;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
